<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

    <ui:define name="l_content">
		<ui:include src="/l_content/lc.xhtml" />
    </ui:define>
    
    <ui:define name="body">
    	<h:panelGroup id="news_panel" rendered="#{!kViewNewsManager.error}">
    		<h:form>
    			<div class="lstn" style="width: 100%;height: 100%;" >
    				<table width="100%" >
    					<tr>
    						<td valign="middle">
								<h:graphicImage value="/images/news.png" />
    						</td>
    						<td width="730px">
				    			<table cellpadding="0" cellspacing="0" width="100%" class="hnt" >
					    			<tr>
					    				<td class="b">
					    					<h:outputText value="#{kViewNewsManager.news.start}" >
					    						<s:convertDateTime pattern="dd.MM.yyyy."/>
					    					</h:outputText>&#160;
					    					<h:outputText value="#{kViewNewsManager.news.getName(klang)}" styleClass="red" />
					    				</td>
					    			</tr>
					    			<tr>
					    				<td>
					    					<h:graphicImage title="" alt="" value="/index_htm_files/37.png" />
					    				</td>
					    			</tr>
					    			<tr>
					    				<td width="730px;">
							    			<h:outputText value="#{kViewNewsManager.news.getDesc(kUser.klang)}" escape="false" />
					    				</td>
					    			</tr>
					    			<tr>
					    				<td>
					    					<h:graphicImage title="" alt="" value="/index_htm_files/37.png" />
					    				</td>
					    			</tr>
					    		</table>
    						</td>
    					</tr>
    				</table>
		    	</div>
    		</h:form>
    	</h:panelGroup>
    	<h:panelGroup rendered="#{kViewNewsManager.error}">
    		<h:outputText value="#{messages.not_avb}" />&#160;
    		<a href="#" onclick="history.go(-1)">#{messages.back_msg}</a>
    	</h:panelGroup>
    </ui:define>
</ui:composition>
